//
//  CarInfoModel.h
//  carcareIOS
//
//  Created by ileo on 16/8/9.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import "BaseModel.h"

@interface CarInfoModel : BaseModel

@property (nonatomic, assign) NSInteger id;//车辆id
@property (nonatomic, copy) NSString *carno;//车牌号
@property (nonatomic, copy) NSString *ecode;//发动机号
@property (nonatomic, copy) NSString *vcode;//车架号
@property (nonatomic, assign) NSInteger unDel;//是否不可删除
@property (nonatomic, assign) NSInteger isForViolation;//

#pragma mark - 车型
@property (nonatomic, copy) NSString *modelImg;//车系链接
@property (nonatomic, assign) NSInteger carTypeId;//车型ID

@property (nonatomic, assign) NSInteger brandId;//品牌id
@property (nonatomic, copy) NSString *brandName;//品牌名
@property (nonatomic, assign) NSInteger modelId;//车系id
@property (nonatomic, copy) NSString *modelName;//车系名
@property (nonatomic, copy) NSString *year;//年款
@property (nonatomic, copy) NSString *styleName;//车型名

@property (nonatomic, assign) BOOL isChangeCarStyle;//是否更改了车型 (用于更新车辆接口判断)


@property (nonatomic , copy) NSString * carNoCityStr;//车牌号城市
@property (nonatomic , copy) NSString * carNoNumStr;//车牌号码

#pragma mark - 违章相关信息
@property (nonatomic, copy) NSString *cartype;//车类型：01大型车，02小型车
@property (nonatomic, copy) NSString *owner;//车主姓名
@property (nonatomic, copy) NSString *idnum;//车主身份证
@property (nonatomic, copy) NSString *regcertcode;//等级证书编号
@property (nonatomic, copy) NSString *uname;//用户名，部分交管所需要帐号登录
@property (nonatomic, copy) NSString *pwd;//密码，部分交管所需要帐号登录
@property (nonatomic, copy) NSString *driveCity;//行驶城市ID，以 “,”分隔，格式不要弄错，只有一个不加“，”

@end
